<template>
  <div class="personal-files-index">
    <div class="personal-files-index-search">
      <nanning-screen-search @on-input-search="onInputSearch" :searchValue="searchValue" :placeholderValue="placeholderValue" :bacUrl="bacUrl"></nanning-screen-search>
    </div>
    <div class="personal-files-index-content">
      <div class="left">
        <img src="../../../assets/images/personalFiles/shimingdangan.png" alt="" srcset="" class="left-img" />
        <div class="left-number">
          <div class="number-title">
            实名档案
          </div>
          <div class="number-center">
            3890
            <div>个</div>
          </div>
          <div class="number-bottom">
            今日
            <img src="../../../assets/images/personalFiles/sheng.png" alt="" srcset="" class="up-icon" />
            <div>12</div>
          </div>
        </div>
      </div>
      <div class="center">
        <!-- <div class="center-border"></div> -->
        <div class="center-left">
          <img src="../../../assets/images/personalFiles/text-left.png" alt="" srcset="" />
        </div>
        <div class="record">全息档案</div>
        <div class="center-right">
          <img src="../../../assets/images/personalFiles/text-right.png" alt="" srcset="" />
        </div>
      </div>
      <div class="right">
        <img src="../../../assets/images/personalFiles/feishiming.png" alt="" srcset="" class="right-img" />
        <div class="right-number">
          <div class="number-title">
            非实名档案
          </div>
          <div class="number-center">
            3890
            <div>个</div>
          </div>
          <div class="number-bottom">
            今日
            <img src="../../../assets/images/personalFiles/xiajiang.png" alt="" srcset="" class="up-icon" />
            <div>12</div>
          </div>
        </div>
      </div>
    </div>
    <div class="personal-files-index-bottom"></div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component({
  name: 'personal-files-index'
})
export default class PersonalFilesIndex extends Vue {
  private bacUrl: string = require('assets/images/personalFiles/sousuokuang.png')

  private searchValue = ''

  private placeholderValue = '请输入内容'

  private onInputSearch(value: any) {
    this.searchValue = value
  }
}
</script>

<style lang="scss" scoped>
.personal-files-index {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 30px;
  position: relative;
  font-family: 'PingFang Regular';
  &-search {
    width: 622px;
    height: 62px;
    margin-top: 50px;
    .nanning-screen-search {
      height: 62px;
      /deep/ .search-text {
        width: 100px;
        height: 62px;
        line-height: 62px;
        font-size: 20px;
        font-weight: 400;
        color: #071055;
        background: transparent;
      }
    }
  }
  &-content {
    width: 100%;
    height: 712px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    position: relative;
    .left,
    .right {
      box-sizing: border-box;
      width: 384px;
      height: 264px;
      background: url('../../../assets/images/personalFiles/kuang.png') no-repeat center;
    }
    .left {
      position: absolute;
      left: 12%;
      top: 20%;
      padding: 77px 0px 67px 41px;
      display: flex;
      .left-img {
        width: 106px;
        height: 106px;
      }
      .left-number {
        margin-left: 28px;
        .number-title {
          font-size: 21px;
          font-weight: 500;
          color: #ffffff;
        }
        .number-center {
          font-size: 49px;
          font-weight: bold;
          color: #ffffff;
          font-family: 'Source Han Sans CN';
          div {
            display: inline-block;
            font-size: 21px;
            font-weight: 200;
            color: #ffffff;
            font-family: 'Source Han Sans CN';
          }
        }
        .number-bottom {
          font-size: 21px;
          font-weight: 200;
          color: rgba(255, 255, 255, 0.7);
          display: flex;
          .up-icon {
            width: 18px;
            height: 22px;
            vertical-align: middle;
            margin-left: 10px;
          }
          div {
            font-size: 21px;
            font-weight: 500;
            color: #ff4747;
          }
        }
      }
    }
    .right {
      position: absolute;
      right: 12%;
      top: 20%;
      padding: 77px 0px 67px 41px;
      display: flex;
      .right-img {
        width: 106px;
        height: 106px;
      }
      .right-number {
        margin-left: 28px;
        .number-title {
          font-size: 21px;
          font-weight: 500;
          color: #ffffff;
        }
        .number-center {
          font-size: 49px;
          font-weight: bold;
          color: #ffffff;
          font-family: 'Source Han Sans CN';
          div {
            display: inline-block;
            font-size: 21px;
            font-weight: 200;
            color: #ffffff;
            font-family: 'Source Han Sans CN';
          }
        }
        .number-bottom {
          font-size: 21px;
          font-weight: 200;
          color: rgba(255, 255, 255, 0.7);
          display: flex;
          .up-icon {
            width: 18px;
            height: 22px;
            vertical-align: middle;
            margin-left: 10px;
          }
          div {
            font-size: 21px;
            font-weight: 500;
            color: #40f5f1;
          }
        }
      }
    }
    .center {
      width: 758px;
      height: 712px;
      background: url('../../../assets/images/personalFiles/quan.png') no-repeat center;
      background-size: 100% 100%;
      position: relative;
      // &-border {
      //   width: 220px;
      //   height: 220px;
      //   background: transparent;
      //   position: absolute;
      //   left: 50%;
      //   top: 50%;
      //   transform: translate(-50%, -50%);
      //   border: 30px solid;
      //   border-radius: 50%;
      //   border-image: linear-gradient(124deg, #fffd3a, #1a1c20) 10 0 round;
      // }
      .record {
        width: 113px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 56px;
        font-family: 'Source Han Serif CN';
        font-weight: bold;
        color: #4bfeff;
        word-break: break-all;
      }
      &-left {
        position: absolute;
        top: 220px;
        left: 170px;
        font-size: 25px;
        font-weight: 400;
        color: #3dfcff;
        img {
          width: 70px;
          height: 103px;
        }
      }
      &-right {
        position: absolute;
        top: 210px;
        right: 150px;
        font-size: 25px;
        font-weight: 400;
        color: #3dfcff;
      }
    }
  }
  &-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 456px;
    background: url('../../../assets/images/personalFiles/circle-bac.png') no-repeat center;
    background-size: 100% 100%;
  }
}
</style>
